@charset "utf-8";


/******信息配置******/
$tableWidth: 384px 84px 52px 73px 99px 57px;
$tableWidthCount: length($tableWidth);


/******页面布局******/

.goods_mgmt {
    padding: 38px 20px 56px;
    color: #444f58;
    
    .caption {
        font-size: 20px;
        font-weight: normal;
        line-height: 1em;
        margin: 5px 5px 20px 5px;
    }
    
    .form {
        margin-bottom: 11px;
        
        form {
            table {
                tr {
                    td {
                        span {
                            padding: 0 3px;
                        }
                    }
                }
            }
        }
    }
    
    .table {
        table {
            thead {
                tr {
                    @for $i from 0 to $tableWidthCount {
                        th:nth-child(#{$i+1}) {
                            width: nth($tableWidth, $i+1);
                        }
                    }
                }
            }
            
            tbody {
                tr {
                    td {
                        a {
                            color: #444f58;
                            transition: color 300ms ease;
                            
                            &:hover {
                                color: #eb413d;
                            }
                        }
                        
                        &:first-child {
                            border-right: 1px solid transparent;
                        }
                    }
                }
            }
        }
    }
}
